package com.atguigu.jxc.service;

import com.atguigu.jxc.domain.ServiceVO;
import com.atguigu.jxc.entity.SaleList;
import com.atguigu.jxc.entity.SaleListGoods;

import java.util.List;
import java.util.Map;

public interface SaleListGoodsService {
    ServiceVO save(SaleList saleList, String saleListGoodsStr, String saleNumber);

    List<SaleList> list(String saleNumber, Integer customerId, Integer state, String sTime, String eTime);

    List<SaleListGoods> goodsList(Integer saleListId);

    ServiceVO delete(Integer saleListId);

    ServiceVO updateState(Integer saleListId);

    List<Map<String, Object>> getSaleDataByDay(String sTime, String eTime);

    List<Map<String, Object>> getSaleDataByMonth(String sTime, String eTime);
}
